package com.michael.demos.ddd.springboot.usecases;

import com.michael.demos.ddd.springboot.domains.Account;
import com.michael.demos.ddd.springboot.ports.out.AccountLock;
import org.springframework.stereotype.Component;

@Component
class NoOpAccountLock implements AccountLock {

    @Override
    public void lockAccount(Account.AccountId accountId) {
        // do nothing
    }

    @Override
    public void releaseAccount(Account.AccountId accountId) {
        // do nothing
    }

}
